package cn.bupt.adt.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.DoctorAppUser;
import cn.bupt.adt.entity.autogenerate.InstitutionAppUser;
import cn.bupt.adt.entity.autogenerate.Withdraw;
import cn.bupt.adt.model.WithdrawModel;

@Service
public interface IWithdrawService {

	boolean addWithdraw(Withdraw withdraw,DoctorAppUser doc);

	boolean addWithdraw(Withdraw withdraw, InstitutionAppUser ins);

	List<WithdrawModel> getAllWithdraws();

	Withdraw getWithdrawById(int id);

	boolean updateWithdrawStatus(Withdraw w);

	List<WithdrawModel> getUndealedWithdraws();

}
